/**
 * MyPhoneStateListener.java $version 1.0 Nov 6, 2012
 *
 * Copyright 2011 Pravin Kumar Corp. All rights Reserved.
 * Pravin Kumar PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
 */

package com.mobile.rail.alarm.service.receivers;

import android.content.Context;
import android.telephony.CellLocation;
import android.telephony.PhoneStateListener;
import android.util.Log;
import android.widget.Toast;

/**
 * Provide a brief description of MyPhoneStateListener.
 * Specify the following items:
 *  - What does it do.
 *  - Its dependencies.
 *  - What section / item in the class document does it correspond to.
 *
 * @author 
 */
public class MyPhoneStateListener extends PhoneStateListener{
	
	Context context;
	public MyPhoneStateListener(Context context){
		
		this.context=context;
		
	}
	
	public void onCellLocationChanged (CellLocation location){
		
		Log.i("MyPhoneStateListener","Location................... "+location.toString());
		
		Toast.makeText(this.context, "Location.......", 1000).show();
		
	}

}
